﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void MainForm_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'laporanBopDataSet3.LaporanTriwulan' table. You can move, or remove it, as needed.
            this.laporanTriwulanTableAdapter.Fill(this.LapTriwulanDataSet.LaporanTriwulan);
            // TODO: This line of code loads data into the 'laporanBopDataSet2.LaporanSemester' table. You can move, or remove it, as needed.
            this.laporanSemesterTableAdapter.Fill(this.LapSemesterDataSet.LaporanSemester);
            // TODO: This line of code loads data into the 'laporanBopDataSet1.LaporanBulanan' table. You can move, or remove it, as needed.
            this.laporanBulananTableAdapter.Fill(this.LapBulananDataSet.LaporanBulanan);
            // TODO: This line of code loads data into the 'laporanBopDataSet.BukuKasUmum' table. You can move, or remove it, as needed.
            this.bukuKasUmumTableAdapter.Fill(this.BkuDataSet.BukuKasUmum);

        }

        private void BkuSaveToolStripButton_Click(object sender, EventArgs e)
        {
            bukuKasUmumTableAdapter.Update(this.BkuDataSet.BukuKasUmum);
        }

        private void LapBulananReloadToolStripButton_Click(object sender, EventArgs e)
        {
            this.bukuKasUmumTableAdapter.GetData();
        }


    }
}
